//
//  GetImageSize.h
//  Test
//
//  Created by jansh on 16/4/13.
//  Copyright © 2016年 jansh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface GetImageSize : NSObject

// 根据图片url获取图片尺寸
+(CGSize)getImageSizeWithURL:(id)imageURL;

//  获取PNG图片的大小
+(CGSize)getPNGImageSizeWithRequest:(NSMutableURLRequest*)request;

//  获取gif图片的大小
+(CGSize)getGIFImageSizeWithRequest:(NSMutableURLRequest*)request;

//  获取jpg图片的大小
+(CGSize)getJPGImageSizeWithRequest:(NSMutableURLRequest*)request;

@end
